package cs342.uwosh.group1.mycontacts;

public class Contact {
	
	private int id;
	private String name;
	private String address;
	private String cellNumber;
	private String altNumber;
	private String email;
	private String comments;
	private int categoryID;
	
	public Contact(){}
	
	public Contact (int id, String name, String address, String cellNumber, String altNumber, String email, String comments)
	{
		this.id = id;
		this.name = name;
		this.address = address;
		this.cellNumber = cellNumber;
		this.altNumber = altNumber;
		this.email = email;
		this.comments = comments;
		this.categoryID = 0;
	}
	
	public Contact (int id, String name, String address, String cellNumber, String altNumber, String email, String comments, int categoryID)
	{
		this.id = id;
		this.name = name;
		this.address = address;
		this.cellNumber = cellNumber;
		this.altNumber = altNumber;
		this.email = email;
		this.comments = comments;
		this.categoryID = categoryID;
	}
	
	public Contact (String name, String address, String cellNumber, String altNumber, String email, String comments)
	{
		this.name = name;
		this.address = address;
		this.cellNumber = cellNumber;
		this.altNumber = altNumber;
		this.email = email;
		this.comments = comments;
		this.categoryID = 0;
	}
	
	public Contact (String name, String address, String cellNumber, String altNumber, String email, String comments, int categoryID)
	{
		this.name = name;
		this.address = address;
		this.cellNumber = cellNumber;
		this.altNumber = altNumber;
		this.email = email;
		this.comments = comments;
		this.categoryID = categoryID;
	}
	
	public void setCategoryID(int categoryID)
	{
		this.categoryID = categoryID;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	public void setName(String name)
	{
		this. name = name;
	}
	
	public void setAddress(String address)
	{
		this.address = address;
	}
	
	public void setCellNumber(String cellNumber)
	{
		this.cellNumber = cellNumber;
	}
	
	public void setAltNumber(String altNumber)
	{
		this.altNumber = altNumber;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
	
	public void setComments(String comments)
	{
		this.comments = comments;
	}
	
	public int getCategoryID()
	{
		return this.categoryID;
	}
	
	public int getId()
	{
		return this.id;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public String getAddress()
	{
		return this.address;
	}
	
	public String getCellNumber()
	{
		return this.cellNumber;
	}
	
	public String getAltNumber()
	{
		return this.altNumber;
	}
	
	public String getEmail()
	{
		return this.email;
	}
	
	public String getComments()
	{
		return this.comments;
	}
	
	public String toString()
	{
		return this.name;
	}
}
